﻿@using XStudio.WebFramework.Mvc.Extensions
@{
    ViewBag.Title = "产品管理";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section Left
{
    <script type="text/javascript">
        $(document).ready(function () {
            $("#lbtnEmployee").click();
        });
    </script>
    <div class="left-menu" title="生资类型管理">
        <ul>
            @Html.WebPartButton("添加生资类型", "Create", "GoodsProductType", null, new { onclick = "$.createWin({ url: this.href, width: 600, height: 200, title: $(this).text() });return false;", @class = "ico-add" })
            @Html.WebPartButton("生资类型列表", "List", "GoodsProductType", null, new { onclick = "Common.ShowTab(this);return false;", @class = "ico-list" })
        </ul>
    </div>
    <div class="left-menu" title="生资产品管理">
        <ul>
            @Html.WebPartButton("待审核列表", "List", "Goods", new { Type = 0 }, new { id = "lbtnEmployee", onclick = "Common.ShowTab(this);return false;", @class = "ico-list" })
            @Html.WebPartButton("通过审核列表", "List", "Goods", new { Type = 1 }, new { onclick = "Common.ShowTab(this);return false;", @class = "ico-list" })
            @Html.WebPartButton("审核失败列表", "List", "Goods", new { Type = 2 }, new {  onclick = "Common.ShowTab(this);return false;", @class = "ico-list" })
        </ul>
    </div>
}
<div border="true" id="tabsMain">
</div>
<script src="@Url.Content("~/Scripts/jquery.form.js")" type="text/javascript"></script>